package Bk.basic;

public class BookInfo {

	public static void main(String[] args) {
		//도서정보를 출력하는 프로그램
		//도서명, 저자, 역자, 출판사, 출간일, 정가, 판매가, 할인율, 적립금
		
		String bookname;
		String author;
		String translator;
		String publisher;
		String pubDate;
		int price;
		int sellPrice;
		int discount;
		int mileage;
		
		bookname = "누구나 알가쉬운 자바: 입문편";
		author = "카와바 타케시";
		translator = "하진일";
		publisher = "혜지원";
		pubDate = "2014년 6월";
		price = 25000;
		discount = 10;
		sellPrice = price - (price / discount);
		mileage = sellPrice / 10;
		
		System.out.println(bookname);
		System.out.println(author);
		System.out.println(translator);
		System.out.println(publisher);
		System.out.println(pubDate);
		System.out.println(price);
		System.out.println(sellPrice );
		System.out.println(mileage);
		
	}

}
